Define Linux-style <preempt.h> interface.
authorKeir Fraser <keir@xen.org>
Thu, 18 Nov 2010 11:45:33 +0000 (11:45 +0000)
committerKeir Fraser <keir@xen.org>
Thu, 18 Nov 2010 11:45:33 +0000 (11:45 +0000)
commit652ec2d1ec8c2c79dce01dc9136c0dfefeabc13e
tree5c31a11a97e5c3143712dd2c4dfc2e3da5a38505
parentc03ec255cdfe2ee762e27be80132ee240be50314
Define Linux-style <preempt.h> interface.

Use it to disable sleeping in spinlock and rcu-read regions.

Signed-off-by: Keir Fraser <keir@xen.org>
xen/common/Makefile
xen/common/preempt.c [new file with mode: 0644]
xen/common/schedule.c
xen/common/softirq.c
xen/common/spinlock.c
xen/include/xen/lib.h
xen/include/xen/preempt.h [new file with mode: 0644]
xen/include/xen/rcupdate.h
xen/include/xen/spinlock.h